package nuaa.domain.vo;     //value object：值对象

/**
 * 消息模型对象：数据相应
 */
public class MessageModel {
    private Integer code=1;             //状态码 1成功 0失败
    private String msg="成功！";           //返回消息
    private Object object;              //基本数据类型、字符串、List、Map

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getObject() {
        return object;
    }

    public void setObject(Object object) {
        this.object = object;
    }
}
